package com.middlegroup.subjectpay.service.impl;

import com.middlegroup.subjectpay.entity.UcfpayDsBankCode;
import com.middlegroup.subjectpay.mapper.UcfpayDsBankCodeMapper;
import com.middlegroup.subjectpay.service.UcfpayDsBankCodeService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author chengweiwei123
 * @since 2019-01-27
 */
@Service
public class UcfpayDsBankCodeServiceImpl extends ServiceImpl<UcfpayDsBankCodeMapper, UcfpayDsBankCode> implements UcfpayDsBankCodeService {

    @Resource
    private UcfpayDsBankCodeMapper ucfpayDsBankCodeMapper;

    @Override
    public UcfpayDsBankCode getBankCode(String innerBankCode) {
        return ucfpayDsBankCodeMapper.getBankCode(innerBankCode);
    }
}
